package com.lanou.tipsy.base;

/**
 * Created by FengJun on 15/10/20.
 * 常量类
 */
public class Constants {
    /**
     * 推荐
     */
    //轮播图
    public static final String CAROUSEL_PIC_URL = "http://tingapi.ting.baidu.com/v1/restserver/ting?" +
            "from=android&version=5.6.5.0&method=baidu.ting.plaza.getFocusPic&format=json&num=6";
    //轮播时间
    public static final int TIME = 3000;
    //猜你喜欢->歌单
    public static final String GUESS_SONGS_LISTS = "http://tingapi.ting.baidu.com/v1/restserver/ting?" +
            "from=android&version=5.6.5.0&method=baidu.ting.song.userRecSongList&format=json&page_no=1&page_size=8";
    //猜你喜欢->歌手
    public static final String GUESS_SINGERS = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&" +
            "method=baidu.ting.artist.userRecArtistList&format=json&" +
            "num=1&" +
            "baiduid=9449a031ab9080bcf270ef4fc43f9fbe&bduss=NTQWlYT2UxZXdPS0U5bnI4UGpEbURlMFdtdlVCcFZScjkzUXVaTkNGZWtzLTVWQVFBQUFBJCQ" +
            "AAAAAAAAAAAEAAABo51otc21pbGVzZXZlbmRheXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKQmx1WkJsdVY1";
    //猜你喜欢->歌手->专辑
    public static final String TODAY_SINGER_ALBUM_START = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&" +
            "method=baidu.ting.artist.getAlbumList&format=json&order=1&tinguid=";
    public static final String TODAY_SINGER_ALBUM_END = "&offset=0&limits=30";
    //猜你喜欢->歌手->单曲
    public static final String TODAY_SINGER_SONGS_START =
            "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&method=baidu.ting.artist.getSongList&format=json&order=2&tinguid=";
    public static final String TODAY_SINGER_SONGS_CENTER = "&artistid=";
    public static final String TODAY_SINGER_SONGS_END = "&offset=0&limits=30";
    //热门歌曲推荐
    public static final String HOT_SONGS_URL = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&method=baidu.ting.song.getEditorRecommend&format=json&num=6";
    //最新歌曲->每日新歌推荐
    public static final String NEWEST_SONG_URL = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.2&method=baidu.ting.diy.getFirstPublish&format=json";
    //最新歌曲->每日新歌推荐->详情
    public static final String NEWEST_SONGS_RECOMMEND_URL = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.2&" +
            "method=baidu.ting.diy.gedanInfo&format=json&listid=";
    //最新歌曲->新歌推荐列表
    public static final String NEWEST_LIST_URL = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.2&method=baidu.ting.plaza.getRecommendAlbum&format=json&offset=0&limit=2";

    public static final String NEWET_RECOMMEND_URL = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.2&method=baidu.ting.album.getAlbumInfo&format=json&album_id=";
    //歌单推荐
    public static final String SONG_LIST_RECOMMEND_URL = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&" +
            "method=baidu.ting.diy.getHotGeDanAndOfficial&format=json&num=6";

    public  static  final  String SONG_LIST_RECOMMEND_URLS = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&method=baidu.ting.diy.gedanInfo&format=json&listid=";

    /**
     * 歌手
     */
    //歌手->top100
    public static final String SINGERS_TOP = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=54&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->最近很红
    public static final String SINGERS_POPULAR = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=110&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->华语男歌手
    public static final String SINGERS_CH_MALE = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=47&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->华语女歌手
    public static final String SINGERS_CH_FEMALE = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=48&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->华语组合
    public static final String SINGERS_CH_GROUP = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=49&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->欧美男歌手
    public static final String SINGERS_EU_MALE = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=249&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->欧美女歌手
    public static final String SINGERS_EU_FEMALE = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=250&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->欧美组合
    public static final String SINGERS_EU_GROUP = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=51&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->日韩男歌手
    public static final String SINGERS_JK_MALE = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=251&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->日韩女歌手
    public static final String SINGERS_JK_FEMALE = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=252&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手->日韩组合
    public static final String SINGERS_JK_GROUP = "http://v1.ard.tj.itlily.com/ttpod?a=getnewttpod&id=53&page=1&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&size=1000";
    //歌手详情->专辑->详情
    public static final String SINGERS_ALBUM_DETAIL_URL_START = "http://api.dongting.com/song/album/";
    public static final String SINGERS_ALBUM_DETAIL_URL_END = "?f=0&os=4.4.4&alf=10001791&imei=99000520889427&from=android&" +
            "resolution=720x1280&net=2&api_version=1.0&agent=none&v=v8.2.0.2015091720&utdid=VRYtEslzAYQDANmUJ4O6onb7&" +
            "userId=0&longitude=0.0&user_id=0&latitude=0.0&language=zh";
    //歌手详情->专辑
    public static final String SINGER_ALBUM_START = "http://api.dongting.com/song/singer/";
    public static final String SINGER_ALBUM_END = "/albums?page=1&utdid=VRYtEslzAYQDANmUJ4O6onb7&size=10";
    //歌手详情->歌手信息->相似歌手
    public static final String SINGER_INFO_SIMILAR_START_URL = "http://api.dongting.com/sim/singer/";
    public static final String SINGER_INFO_SIMILAR_END_URL = "/similarity?utdid=VRYtEslzAYQDANmUJ4O6onb7";
    //歌手详情->歌手信息
    public static final String SINGER_INFO_START = "http://api.dongting.com/song/singer/";
    public static final String SINGER_INFO_END = "?utdid=VRYtEslzAYQDANmUJ4O6onb7&detail=true";
    //歌手详情->mv
    public static final String SINGER_MV_START = "http://api.dongting.com/song/singer/";
    public static final String SINGER_MV_END = "/videos?page=1&utdid=VRYtEslzAYQDANmUJ4O6onb7&size=50";
    //歌手详情->单曲
    public static final String SINGER_SONGS_START = "http://api.dongting.com/song/singer/";
    public static final String SINGER_SONGS_END = "/videos?page=1&utdid=VRYtEslzAYQDANmUJ4O6onb7&size=50";

    /**
     * 排行
     */
    //排行
    public static final String RANK_RUL = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&method=baidu.ting.billboard.billCategory&format=json&kflag=1";
    //排行详情
    public static final String RANK_INFO_START = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&" +
            "method=baidu.ting.billboard.bill" +
            "List&format=json&type=";
    public static final String RANK_INFO_END = "&offset=0&size=100&fields=song_id" +
            "%2Ctitle%2Cauthor%2Calbum_title%2Cpic_big%2Cpic_small%2Chavehigh%2Call_rate%2" +
            "Ccharge%2Chas_mv_mobile%2Clearn%2Csong_source%2Ckorean_bb_song";

    //排行界面下载
    public  static final  String RANK_INFO_DOWN_START = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&method=baidu.ting.song.getInfos&format=json&songid=";
    public  static final  String RANK_INFO_DOWN_END ="&ts=1445399459391&e=SmJtjLwgnuWRzBbIIHeXgNusY1L%2FXZoWyOitaQ3ExdPXWpSPZ0Fras1q%2FLVxivZr&nw=2&fr=sns&ucf=1&res=1&l2p=2943&lpb=&usup=1&lebo=0";


    /**
     * 歌单
     */
    //歌单详情
    public static final String SONGS_LIST_DETAIL_START = "http://api.songlist.ttpod.com/songlists/";
    public static final String SONGS_LIST_DETAIL_END = "?f=62&os=4.3&alf=702008&imei=357071053053609&from=android&resolution=720x1280&net=2&api_version=1.0&agent=none&v=v8.2.0.2015091720&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&address=%E8%BE%BD%E5%AE%81%E7%9C%81%E5%A4%A7%E8%BF%9E%E5%B8%82%E6%B2%99%E6%B2%B3%E5%8F%A3%E5%8C%BA%E4%BA%94%E4%B8%80%E8%B7%AF314&longitude=121.544785&user_id=0&latitude=38.88353&language=zh";

    //歌单
    public static final String SONG_LIST_DETAIL = "http://so.ard.iyyin.com/s/songlist?uid=357071053053609&f=f62&app=ttpod&hid=3435543930920489&alf=alf702008&net=2&size=10&v=v8.2.0.2015091720&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&s=s200&page=1&q=tag%3A%E6%9C%80%E7%83%AD&imsi=460078428194273&tid=0";
    public static final String SONG_LIST_MOSAIC_FIRST = "http://so.ard.iyyin.com/s/songlist?uid=357071053053609&f=f62&app=ttpod&hid=3435543930920489&alf=alf702008&net=2&size=10&v=v8.2.0.2015091720&utdid=Vg9wrUyUntcDAEWDwkqWQJLb&s=s200&page=1&q=tag";
    public static final String SONG_LIST_MOSAIC_SECOEND ="&imsi=460078428194273&tid=0";
    public static final String SONG_LIST_MENU = "http://api.dongting.com/song/tag/songlist";
    /**
     * 服务
     */

    public static final String SERVICE_NET_SONGS_URL_START = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.2&method=baidu.ting.song.getInfos&format=json&songid=";
    public static final String SERVICE_NET_SONGS_URL_END = "&ts=1446603605086&e=ikQ5mTSwc6CO0Vy4%2FgkV3%2B41yxeTpaUNz9Ed5AJdObc%3D&nw=2&ucf=1&res=1&l2p=6571&lpb=&usup=1&lebo=0";
    //数据库名字
    public static final String DATABASE_NAME = "tipsy";


    /**
     * MV
     */
    //mv详情
    public static final String MV_URL = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&method=baidu.ting.mv.searchMV&format=json&order=1&page_num=1&page_size=20&query=";


    /**
     * 搜索
     */
    public static  final  String SEARCH_URL =  " http://tingapi.ting.baidu.com/v1/restserver/ting?from=android&version=5.6.5.0&" +
            "method=baidu.ting.search.catalogSug&format=json&query=";
}